﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WMS.Domain.Entities.BasicManagement;
using WMS.Domain.Entities.DeliveryOrderManagement;
using WMS.Domain.Entities.InventoryManagement;
using WMS.Domain.Entities.StocktakingManagement;
using WMS.Domain.Entities.SystemUser;
using WMS.Domain.Entities.WarehouseManagement;

namespace WMS.Interfactructure
{
    /// <summary>
    /// 上下文
    /// </summary>
    public class DataDbContext : DbContext
    {
        /// <summary>
        /// 构造函数 
        /// </summary>
        /// <param name="options">选项</param>
        public DataDbContext(DbContextOptions options) : base(options)
        {
        }
        /// <summary>
        /// 待盘点订单-xzc
        /// </summary>
        public DbSet<PendingOrders> PendingOrders { get; set; }
        /// <summary>
        /// 待确认订单/待确认订单-xzc
        /// </summary>
        public DbSet<OrderConfirmed> OrderConfirmed { get; set; }

        /// <summary>
        /// 创建入库单--zyn
        /// </summary>
        public DbSet<InboundListModel> InboundListModels { get; set; }

        /// <summary>
        /// 待发货运单--zyn
        /// </summary>
        public DbSet<PendingFreightModel> PendingFreightModels { get; set; }

        /// <summary>
        /// 已发货运单--zyn
        /// </summary>
        public DbSet<PendingShippedModel> PendingShippedModels { get; set; }
        /// <summary>
        /// 添加 RechargeUser 给客户充值 实体集 - wyx 
        /// </summary>
      public DbSet<RechargeUser> RechargeUsers { get; set; }
        /// <summary>
        /// 添加 Financialdetails 财务明细--wyx
        /// </summary>
      public DbSet<Financialdetails> Financialdetails { get; set; }
        /// <summary>
        /// 添加 CardManage 身份证管理--wyx
        /// </summary>
      public DbSet<CardManage> CardManage { get; set; }
        /// <summary>
        /// 产品管理实体模型---bpy
        /// </summary>
        public DbSet<ProductManageModel> ProductManageModel { get; set; }
        /// <summary>
        /// 库存管理-箱子型号管理-grx
        /// </summary>
        public DbSet<BoxManagement> BoxManagement { get; set; }
        /// <summary>
        /// 库存管理-库存出入库-grx
        /// </summary>
       public DbSet<InandoutofStorage> InandoutofStorage { get; set; }
        /// <summary>
        /// 货架实体模型--bpy
        /// </summary>
       public DbSet<ShelfManageModel> ShelfManageModel { get; set; }
        /// <summary>
        /// 仓库实体模型--bpy
        /// </summary>
        public DbSet<WarehouseModel> WarehouseModel { get; set; }
        /// <summary>
        /// 在库箱子SKU中间表数据实体--bpy
        /// </summary>
        public DbSet<BoxSkuModel> BoxSkuModel { get; set; }
        /// <summary>
        /// 货架箱子中间实体模型--bpy
        /// </summary>

        public DbSet<ShelfManageBoxModel> ShelfManageBoxModel { get; set; }
        /// <summary>
        /// SKU实体模型--bpy
        /// </summary>
        public DbSet<SkuModel> SkuModel { get; set; }
        /// <summary>
        /// 在库箱子数据实体--bpy
        /// </summary>

        public DbSet<WarehouseBoxModel> WarehouseBoxModel { get; set; }


    }
}
